package com.weibo.basic.alg.alert.server.util;

import com.google.gson.Gson;

public class GsonUtil {

    private static final Gson GSON = new Gson();

    public static <T> T convertTo(String inJson, Class<T> type) {
        return GSON.fromJson(inJson, type);
    }

}
